﻿#ifndef EXPERIMENTINFOWINDOW_H
#define EXPERIMENTINFOWINDOW_H

#include <QObject>
#include <QWidget>
#include <dbHelper.h>
#include <mainwindow.h>
#include <CommonHelper.h>
#include <tcpclient.h>
#include <tcts.h>

namespace Ui {
class experimentInfoWindow;
}

class experimentInfoWindow : public QWidget
{
    Q_OBJECT

public:
    explicit experimentInfoWindow(QWidget *parent = nullptr);
    ~experimentInfoWindow();

signals:
    void changeMainWindow();
    void changeSampleWindow();
    void changeDataAnalysisWindow();
    void changeAmplProgramStepWindow(QString);

private slots:
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();

    void on_pushButton_4_clicked();

    void on_ExperimentName_textChanged(const QString &arg1);

    void on_pushButton_9_clicked();

    void on_pushButton_10_clicked();

    void on_pushButton_5_clicked();

private:
    QString GetDateString(int);
    void showEvent(QShowEvent *event) override;
    void refShadeWindow();

private:
    Ui::experimentInfoWindow *ui;
    CommonHelper* common;
    TcpClient *tcpClient;
};

#endif // EXPERIMENTINFOWINDOW_H
